<template>
  <div id="app">

    <!-- 头部导航 -->
    <IndexNav></IndexNav>

    <!-- 路由区域 -->
    <div class="main">
      <router-view>
      </router-view>
    </div>

  </div>
</template>
<script>
// import Vue from "vue";

// 引入字体图标
import "../public/icons/iconfont.css";

//样式初始化
import "./css/reset.css";
// 引入滚动条通用样式
import "./css/scrollbar.css";

// 引入导航组件
import IndexNav from "./components/nav.vue";

export default {
  name: "APP",
  data() {
    return {};
  },
  components: {
    IndexNav
  }
};
</script>

<style lang="scss">
#app {
  font-family: "poppin,Tahoma,Arial,\5FAE\8F6F\96C5\9ED1,sans-serif";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  // overflow: hidden;
  // 设置路由页面版心宽度
  .main {
    // background-color: #030303;
    // background-color: rgba(255, 255, 255, 0.6);
    margin: 10px auto;
    width: 80%;
    padding-bottom: 100px;
  }
  min-width: 1200px;
}
</style>
